import { useMatch, useLocation } from "react-router-dom"
const Home = () => {
    let match = useMatch("/home")
    let location = useLocation();
    console.log(location)
    console.log(match)
    return (
        <fieldset>
            <legend>Home</legend>
            <h1>Home组件</h1>
        </fieldset>
    )
}

export default Home